1
00:00:03,130 --> 00:00:08,710
Now that we've set up our private host only network, it's time to connect each of our virtual machines

2
00:00:09,070 --> 00:00:10,160
to that V box.

3
00:00:10,210 --> 00:00:11,170
Net zero.

4
00:00:11,530 --> 00:00:13,210
Private virtual network.

5
00:00:13,630 --> 00:00:15,910
So, first of all, we'll do that with Caleigh Linux.

6
00:00:16,330 --> 00:00:22,870
You can change the network settings just by clicking on the network setting in our settings window.

7
00:00:23,320 --> 00:00:28,720
So if we scroll down a little bit, you'll see that network settings tab.

8
00:00:29,320 --> 00:00:30,970
And we can click on network.

9
00:00:31,540 --> 00:00:38,380
And instead of attaching to the mat that that means that my colleague can only see Caleigh itself,

10
00:00:38,380 --> 00:00:39,160
its own machine.

11
00:00:39,490 --> 00:00:43,120
And then out through our host machine into the Internet.

12
00:00:43,510 --> 00:00:45,700
But it can't see any of our virtual machines.

13
00:00:45,700 --> 00:00:50,290
And we want to be able to test hacking and defending across those virtual machines.

14
00:00:50,800 --> 00:00:53,920
So I'm going to come down to the host only adapter.

15
00:00:55,260 --> 00:00:55,500
Feedbacks.

16
00:00:55,930 --> 00:00:56,770
Net zero.

17
00:00:57,280 --> 00:00:57,810
Click, OK.

18
00:01:00,160 --> 00:01:04,700
And I can go ahead and change that network setting for all of my devices at the same time.

19
00:01:05,110 --> 00:01:08,060
I can just click through host only adapter click, OK?

20
00:01:10,060 --> 00:01:11,830
Same thing for the host only adapter.

21
00:01:14,080 --> 00:01:20,890
For our Android device, if you set that up and for the minus floatable to, we'll do the same thing.

22
00:01:22,310 --> 00:01:26,990
In fact, four men hospitable to we really want to stay on a host only adapter, we don't want our meds

23
00:01:26,990 --> 00:01:32,690
political box usually exposed out to the Internet and we'll see why when we hack into that Web server.

24
00:01:34,040 --> 00:01:38,900
So now we need to check to make sure that our IP address is actually showing up correctly, as it turned

25
00:01:38,900 --> 00:01:39,770
out, ODAH three.

26
00:01:39,860 --> 00:01:43,010
So let's open up Kelly Linux and let's start that machine.

27
00:01:44,440 --> 00:01:49,520
You may have to log into your Kelly box again, remember, on newer versions of Kelly, that is KHL

28
00:01:49,570 --> 00:01:51,410
I and KHL I.

29
00:01:51,520 --> 00:01:57,910
Kelly and Kelly for older versions of Kelly, that'll be root and tour T double o r as your username

30
00:01:57,910 --> 00:01:59,310
and password 2020.

31
00:01:59,380 --> 00:01:59,800
A newer.

32
00:01:59,800 --> 00:02:01,000
You've got Kelly and Kelly.

33
00:02:02,420 --> 00:02:04,250
And let's open up a command prompt.

34
00:02:05,730 --> 00:02:13,080
So remember, on our newer Kelly Linux, the command to see the IP addresses, IP and then either HDD

35
00:02:13,140 --> 00:02:21,840
are or just IP, a short for IP address, and you can see Alcalay Linux computer did get a tend out

36
00:02:21,840 --> 00:02:23,870
of three four address.

37
00:02:24,180 --> 00:02:29,280
But there may be times when you're switching networks, especially if you're performing multiple labs

38
00:02:29,280 --> 00:02:36,210
at the same time that you may need to restart the network manager to show you a couple of ways to fix

39
00:02:36,300 --> 00:02:38,700
any IP address problems that might happen in Kalli.

40
00:02:39,120 --> 00:02:45,450
First of all, you can come down to the bottom of your guest machine's window and you can see the network

41
00:02:45,450 --> 00:02:47,430
settings and connect network adapter.

42
00:02:47,970 --> 00:02:51,930
You can actually change your network settings while you're connected to a network.

43
00:02:52,320 --> 00:02:56,010
So if we wanted to change to a different adapter, if we wanted to go back to that, if we wanted to

44
00:02:56,010 --> 00:02:59,250
go to a net network like we'll create in just a moment, we can do that.

45
00:02:59,280 --> 00:03:00,930
But we're on the correct network.

46
00:03:02,190 --> 00:03:04,170
The next thing we can do is disconnect.

47
00:03:05,710 --> 00:03:12,000
And reconnect that network adaptor that will jog things just like unplugging and putting them back in,

48
00:03:12,010 --> 00:03:13,680
you can see where disconnected.

49
00:03:13,780 --> 00:03:15,530
And then we'll be reconnected again.

50
00:03:16,990 --> 00:03:22,360
And then we can say IP A to get IP address tonight at three to four.

51
00:03:22,360 --> 00:03:23,050
Looks correct.

52
00:03:23,080 --> 00:03:24,550
So we are in really good shape.

53
00:03:24,970 --> 00:03:29,650
But let's do one other thing and I'll do a control l to clear my screen.

54
00:03:30,850 --> 00:03:34,390
Let's see how to restart the networking just in case those three steps don't work.

55
00:03:34,450 --> 00:03:38,770
You can say Sudoku or pseudo service.

56
00:03:40,040 --> 00:03:47,450
Networking or network manager, manager restart on some versions of Linux.

57
00:03:47,810 --> 00:03:49,430
And then your Pat Kelly password.

58
00:03:49,450 --> 00:03:49,820
K.

59
00:03:50,150 --> 00:03:50,510
I.

60
00:03:52,370 --> 00:03:57,680
There we go, and some versions of Linux, you'll say, see a pseudo service networking, restart the

61
00:03:57,680 --> 00:04:02,010
network manager on Kalli DPN, a new boon to Linux's.

62
00:04:02,360 --> 00:04:06,680
We'll give you a full restart of all of your network settings.

63
00:04:07,040 --> 00:04:14,990
So now if we do an IPA, we will see we do have 10 dot dot three, dot four as our Internet address.

64
00:04:15,590 --> 00:04:20,810
And notice that we have a loop back or our local host address to 127 dot audette odah one.

65
00:04:20,810 --> 00:04:23,630
That's always your home address on any computer.

66
00:04:24,320 --> 00:04:32,030
But then we have a network address on our home network on Ethernet zero Ethernet ethe zero is just the

67
00:04:32,030 --> 00:04:33,080
interface or the.

68
00:04:33,230 --> 00:04:39,320
It's just like plugging in a physical ethernet cable like you might have had on a desktop, at school

69
00:04:39,320 --> 00:04:39,830
or at work.

70
00:04:40,400 --> 00:04:43,710
So send out Odah three, not four is our Caleigh IP address.

71
00:04:43,850 --> 00:04:48,080
So we've got the ability to see other machines inside the network.

72
00:04:48,350 --> 00:04:54,140
So let's go over to our Windows machine and go ahead and make sure that its IP address came through.

73
00:04:54,140 --> 00:04:54,380
Okay.

74
00:04:54,440 --> 00:04:58,120
And then we'll check Medda spoil it can be the trickiest to setup.

75
00:04:58,520 --> 00:05:02,630
So I'll start my Windows 10 box and I'll go ahead and start the Mideast political box at the same time.

76
00:05:04,400 --> 00:05:08,780
When my windows virtual machine boots up, I'll be able to log in with the password.

77
00:05:09,080 --> 00:05:09,950
Capital P.

78
00:05:10,340 --> 00:05:14,150
Little a ss w zero r d exclamation.

79
00:05:14,700 --> 00:05:16,130
And I'll show that one more time.

80
00:05:16,220 --> 00:05:17,570
Just so that it's visible for you.

81
00:05:17,990 --> 00:05:21,470
Password with a zero in place of the O.

82
00:05:21,700 --> 00:05:22,670
A capital P.

83
00:05:22,790 --> 00:05:23,900
And an exclamation.

84
00:05:24,680 --> 00:05:26,360
That's Microsoft's password, remember.

85
00:05:26,360 --> 00:05:27,020
Not ours.

86
00:05:27,090 --> 00:05:28,970
But that's all right for this one, Veum.

87
00:05:30,490 --> 00:05:36,490
When we get inside our Windows 10 desktop, we can click in the START menu or search bar and say see

88
00:05:36,940 --> 00:05:38,680
these to run the command prompt.

89
00:05:40,330 --> 00:05:48,610
And we're going to say IP config instead of IP space A on a Windows box, and you notice we didn't get

90
00:05:48,610 --> 00:05:50,530
a 10 that ODAH three address.

91
00:05:50,560 --> 00:05:53,230
This computer is 10, DataDot three to five.

92
00:05:53,680 --> 00:05:59,110
And now actually we can check to see if we really can see other computers on this network by pinging

93
00:05:59,110 --> 00:06:01,060
P.I. in G space.

94
00:06:01,360 --> 00:06:04,390
And my Kelly Linux machine is still running in the background here.

95
00:06:04,780 --> 00:06:09,630
So I can say Tim Dotto, dot three, dot four.

96
00:06:10,120 --> 00:06:13,120
That was the IP address of my Caleigh Linux computer.

97
00:06:13,750 --> 00:06:18,310
And so if Windows is on the same network and everything's working correctly, we should be able to ping

98
00:06:18,850 --> 00:06:21,010
10 that audette three to four.

99
00:06:21,880 --> 00:06:22,660
And look at that.

100
00:06:22,690 --> 00:06:23,650
We get a reply.

101
00:06:25,350 --> 00:06:32,280
So we do have our Kelly and Linda Windows Live boxes connected to the same private hosts only network.

102
00:06:32,690 --> 00:06:37,560
I'd just one little troubleshooting tip if you ever get in here and you can't get your Windows computer

103
00:06:37,560 --> 00:06:40,950
to change addresses to the Tendo Doda, three to four network.

104
00:06:41,340 --> 00:06:43,170
We can do the same thing we did before.

105
00:06:43,170 --> 00:06:46,440
We can check our network settings down here under network settings.

106
00:06:46,950 --> 00:06:49,950
I can see that it is on the hosted only adapter, so that's OK.

107
00:06:50,640 --> 00:06:55,210
And then I can disconnect and reconnect that network adapter.

108
00:06:55,290 --> 00:06:56,190
Good troubleshooting.

109
00:06:56,700 --> 00:07:00,460
But there's one other step just in case your IP address doesn't come up right.

110
00:07:01,050 --> 00:07:04,890
This time I'm going to open an administrator command, prompt CMB.

111
00:07:05,700 --> 00:07:09,680
But instead of pressing enter, I'm going to say run as administrator.

112
00:07:09,690 --> 00:07:13,860
This is sort of like the super user do the pseudo command in Caleigh Linux.

113
00:07:14,130 --> 00:07:18,870
We're going to run as administrator and then we'll have to give it permission, just like entering the

114
00:07:18,870 --> 00:07:19,380
password.

115
00:07:19,380 --> 00:07:24,360
And Kelly and the command that we want to run is Net S.H. and E.T..

116
00:07:24,450 --> 00:07:28,530
S.H., the network shell lets us run some network administration commands right here.

117
00:07:29,160 --> 00:07:31,380
Net S.H. Windsock.

118
00:07:33,690 --> 00:07:38,360
That's the window socket or Windows network manager, Windsock Recept.

119
00:07:38,860 --> 00:07:42,280
It's not restart like it is over on Kalli, but reset.

120
00:07:42,610 --> 00:07:46,000
So we successfully reset the wind set cattle at Windsock catalog.

121
00:07:46,360 --> 00:07:47,500
Now IP config.

122
00:07:48,070 --> 00:07:52,780
And we should have a good 10 tattoed three address on the same network.

123
00:07:53,530 --> 00:07:54,310
So finally.

124
00:07:55,060 --> 00:07:58,120
And we can save the settings there if we want to and close this down.

125
00:07:58,450 --> 00:07:59,560
Let's see how we can change.

126
00:07:59,560 --> 00:08:01,060
Made a split Tibbles IP address.

127
00:08:01,090 --> 00:08:02,140
It's a little bit different.

128
00:08:02,710 --> 00:08:08,140
The good thing is rebooting most of these machines does usually work to give us a fresh IP address.

129
00:08:08,440 --> 00:08:09,640
But we'll check that with M.

130
00:08:09,690 --> 00:08:14,440
S F 80s EMI N and MSF a.T.M I.

131
00:08:14,440 --> 00:08:15,940
N as our password.

132
00:08:16,480 --> 00:08:23,320
And we're on old Linux box so we can do I-F config, the interface config.

133
00:08:23,380 --> 00:08:26,110
I have config just like IP config over on windows.

134
00:08:26,590 --> 00:08:32,680
And notice because we had rebooted this machine, we do have a 10 Dotto dot three dot six address for

135
00:08:32,700 --> 00:08:33,850
our met hospitable box.

136
00:08:34,150 --> 00:08:40,450
But if you run into any trouble here, an easy way to pu to fix that on an older Linux box like the

137
00:08:40,450 --> 00:08:43,030
one you have here is Sudoku pseudo.

138
00:08:44,310 --> 00:08:50,070
F down and you notice that our Ethernet interface is called eath zero.

139
00:08:50,200 --> 00:08:51,850
E t h zero.

140
00:08:53,020 --> 00:08:59,800
And then we can use the double ampersand to then if the pseudo if down works correctly, we want to

141
00:08:59,800 --> 00:09:04,900
do a pseudo and bring the interface the IMF back up.

142
00:09:04,960 --> 00:09:07,240
So I f up ethe zero.

143
00:09:09,210 --> 00:09:12,870
And it lasts for the password for my Metis floatable.

144
00:09:13,470 --> 00:09:16,980
So we're going to say MSF a b m i n.

145
00:09:21,570 --> 00:09:29,220
There we go, and we now have a 10 DRDO three, that's six IP address for Metis Floatable.

146
00:09:29,220 --> 00:09:33,530
So all of three of these computers are set up with a good IP address.

147
00:09:33,540 --> 00:09:36,540
And we went ahead and changed the one for the Android device as well.

148
00:09:36,960 --> 00:09:40,800
So you can save these machine states if you want to as you power them off.

149
00:09:41,610 --> 00:09:48,840
And we'll come back in the next lesson and see how to connect to a new public network that will be able

150
00:09:48,840 --> 00:09:51,810
to do some hacking and connect out to the Internet with.

